﻿namespace UtilZ.Dotnet.Ex.Model
{
    /// <summary>
    /// 数据源类型
    /// </summary>
    public enum DataSourceType
    {

#if !NET4_0
        /// <summary>
        /// Memory
        /// </summary>
        Memory,
#endif

        /// <summary>
        /// byte数组
        /// </summary>
        Bytes,

        /// <summary>
        /// 数据流
        /// </summary>
        Stream,

        /// <summary>
        /// 数据存放于文件中
        /// </summary>
        File,

        /// <summary>
        /// 二进制读取器
        /// </summary>
        BinaryReader,

        /// <summary>
        /// 非托管数据指针
        /// </summary>
        DataPtr,

        /// <summary>
        /// 扩展类型
        /// </summary>
        Extend
    }
}
